Migrate endpoints during upgrade.