Add tests and methods for updating users