Compute virtual attributes to upgrade.