integration test for user update