updateUser implementation in UserHandler