GPS configuration / Firmware update access

I’ve had success using the TBeam as a serial pass through to access the M8N and change settings. I haven’t tried a firmware update but might give it a go and let you know. My sketch is very simple. It ideally needs to control the AXP192 as at the moment I turn the gps on with meshtastic then upload the pass through sketch and launch U Center.