added method to update the rest of the user's details