Upgrade url generation