def call
      return broadcast(:invalid) unless @form.valid?

      update_personal_data
      update_avatar
      update_password

      if @user.valid?
        @user.save!
        notify_followers
        broadcast(:ok, @user.unconfirmed_email.present?)
      else
        @form.errors.add :avatar, @user.errors[:avatar] if @user.errors.has_key? :avatar
        broadcast(:invalid)
      end
    end
def call
      return broadcast(:invalid) unless @form.valid?

      update_personal_data
      update_avatar
      update_password

      if @user.valid?
        @user.save!
        notify_followers
        broadcast(:ok, @user.unconfirmed_email.present?)
      else
        @form.errors.add :avatar, @user.errors[:avatar] if @user.errors.has_key? :avatar
        broadcast(:invalid)
      end
    end
Updates a user's account.

 user - The user to be updated.
 form - The form with the data.