Main data migration