Profiles can be updated

More-or-less copied from the previous `RestfulModel`-based implementation.