protected function _beforeEntityUpdate(AnCommandContext $context)
    {
        $entity = $context->entity;
        $modified = array_keys(AnConfig::unbox($entity->getModifiedData()));
        $modified = count(array_intersect($this->_modifiable_properties, $modified)) > 0;

        if ($modified && AnService::has('com:people.viewer')) {
            $entity->editor = get_viewer();
        }
    }