Upgrades Phraseanet data, useful after migrations

[Please consider the plurial form of data is data. A piece of data is a datum]