update user info on the server