fix CPK update, switch to including CPK persistence as a module to gain access to `super` in Rails