protected function _update() { if ($this->_cleanData['component'] != $this->component) { $this->_delete(); } parent::_update(); }