user details refactored, solving the sintax error in the update operations