code: async def update_state(self, msg, _context):
          
  
          name = msg.get('name')
          status = msg.get('new_status')
  
          await self.service_manager.update_state(name, status)
docs: Update the status of a service.