Update migrate script