update user object