updates IDs to new convention