Accounting/EventListener/AccountingListener.php
public function onUpdate(ResourceEventInterface $event)
    {
        $accounting = $this->getAccountingFromEvent($event);

        $this->buildName($accounting);
    }
public function onUpdate(ResourceEventInterface $event)
    {
        $accounting = $this->getAccountingFromEvent($event);

        $this->buildName($accounting);
    }
Update event handler.

@param ResourceEventInterface $event