Added migrate_preview method