addition of UpdateUser function