Profiles can be updated

More-or-less copied from the previous `RestfulModel`-based implementation.
Do we need any extra error handling shenanigans here to get nice error messages with the respond body etc.?