Update migration to fix all the cappage