updated data migration script.