CMMN : case instances migration

I’m looking for best practices and sample code to migrate case instances from an older version to the last one.
I’ve started to look in details what have been published here : it works (case instance migrated) but if I use the Camunda cockpit to list the cas instances per version, the old version still have all the instances and the last version has nothing.
Any help would be appreciated !