cleaning and adding better support for updating users (PUT)