updated tests for update user