code: def update_state(self, name, state):
          
  
          self._loop.run_coroutine(self._client.update_state(name, state))
docs: Update the state for a service.
  
          Args:
              name (string): The name of the service
              state (int): The new state of the service