Update gatewayc.js