updated data migration skript