Updated migrationcontroller