Fix cps_entity_update() and add better comments to explain exactly which revisions we want to track.