updating user details is done