Upgrades Phraseanet data, useful after migration sequences