Sync for migrate