Updated migrate