public function afterUpdate() { parent::afterUpdate(); $cache = $this->getDi()->get('cache'); $cache->delete(self::cacheSlugKey($this->getSlug())); }