code: public function onUpdate(ResourceEventInterface $event)
      {
          $message = $this->getMessageFromEvent($event);
  
          $this->updateTicket($message);
      }
docs: Update event handler.
  
  @param ResourceEventInterface $event