/** {@InheritDoc} */ public function afterSave() { if ($this->_new_email != $this->_current_email) { $this->object->Profile->set('email', $this->_current_email); $this->object->Profile->save(); } return parent::afterSave(); }