Add updateUser and tests