<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_network_gateway(self, gateway_id, body=None):
 """Update a network gateway."""

        return self.put(self.network_gateway_path % gateway_id, body=body)