Fix update in users_controller for json
Fix users_controller with @user