/**
  * Update user data
  *
  * @access	private
  */
 private function update()
 {
     if ($this->check_post_data()) {
         try {
             $this->_profile->update('_firstname', 'str');
             $this->_profile->update('_lastname', 'str');
             $this->_profile->update('_nickname', 'str');
             $this->_profile->update('_publicname', 'str');
             $this->_profile->update('_email', 'str');
             $this->_profile->update('_website', 'str');
             $this->_profile->update('_msn', 'str');
             $this->_profile->update('_twitter', 'str');
             $this->_profile->update('_facebook', 'str');
             $this->_profile->update('_google', 'str');
             $this->_profile->update('_avatar', 'int');
             $this->_profile->update('_bio', 'str');
             if (VPost::role(false)) {
                 $this->_profile->update('_role', 'str');
             }
             $pwd = $this->_profile->_password;
             if (!empty($pwd)) {
                 $this->_profile->update('_password', 'str');
             }
             $this->build_avatar();
             $this->_action_msg = ActionMessages::profile_update(true);
         } catch (Exception $e) {
             $this->_action_msg = ActionMessages::profile_update(ucfirst($e->getMessage()));
         }
     }
 }