public function actionUpdate($id)
 {
     $model = User::findOne(['id' => $id]);
     if (null === $model) {
         throw new NotFoundHttpException(Yii::t('ica_auth', 'No such user.'));
     }
     if ($this->saveUser($model)) {
         Yii::$app->session->setFlash('userUpdated');
     }
     return $this->render('@icalab/auth/views/user/update', ['model' => $model]);
 }