code: async def _on_status_change(self, update):
          
  
          info = update['payload']
          new_number = info['new_status']
          name = update['service']
  
          if name not in self.services:
              return
  
          with self._state_lock:
              is_changed = self.services[name].state != new_number
              self.services[name].state = new_number
  
          # Notify about this service state change if anyone is listening
          if self._on_change_callback and is_changed:
              self._on_change_callback(name, self.services[name].id, new_number, False, False)
docs: Update a service that has its status updated.