public function onPermalinkChanged(PermalinkChangedEvent $event)
    {
        $previousPermalink = $event->getOriginalText();
        $newPermalink = $event->getChangedText();

        $this->updatePermalinkOnBlocks($previousPermalink, $newPermalink);
        $this->updateHomepagePermalink($previousPermalink, $newPermalink);
    }