GatewayAgent update