Profiles can be updated

More-or-less copied from the previous `RestfulModel`-based implementation.
Useless assignment to variable - `original_values`.