public function update(SS_HTTPRequest $request)
 {
     $member = Customer::currentUser();
     if (!$member->canEdit()) {
         return $this()->httpError(401);
     }
     $updateData = $request->postVars();
     $updateData = ProfiledMemberForm::update_models('update', $updateData, $member);
     $member->write();
     /** @noinspection PhpParamsInspection */
     ProfiledMemberForm::set_form_message("ProfileUpdated", CrackerjackForm::Good);
     $this->sendEmail('Update', $member, $updateData);
     return $this()->redirectBack();
 }