protected function updateModel($imagePath, $imageFieldName)
    {
        $this->attributes[$imageFieldName] = $imagePath;

        $dispatcher = $this->getEventDispatcher();
        self::unsetEventDispatcher();
        $this->save();
        self::setEventDispatcher($dispatcher);
    }