def update
      @user = User.find(params[:id])
      if @user.update(user_params)
        head :no_content
      else