url upgrades, entity function