Update a gateway

Updates the configuration of an existing gateway instance, including its name, deployment model, and associated settings.