update gateway hostname