Migrate v2 to legacy