migration script updates