update configuration for gateway