public function onParentChange(ResourceEventInterface $event)
    {
        $customer = $this->getCustomerFromEvent($event);

        if ($this->updateFromParent($customer)) {
            $this->persistenceHelper->persistAndRecompute($customer, true);
        }
    }