Change Host name in AppWorks Database

We want to permanently change the host in the "GateWayNode" table in the appworks . every time we change it manually it reverts back after service restart.

thank you.