update user details method finished