update user now works correctly