add tests for updating users