A bit unsure what you mean but basically the way this automation works is that we have set a gold amount for I think 7 stats that are mainstream, think AD, AP, HP, etc. So lets say that 1 gold = 10 HP or something. We make it so that for each mainstream stat you have, we split 1k gold worth of stats equally. If you only have 1 of the stats then you have 1k gold worth of that stat, if you have 2 they both have 500 gold worth etc. If you have none of those main stats (not currently possible but in case it were to become possible) then Ornn upgrading the item would add 1k gold worth of HP to the item.
If we change an items stats (whether thats balancing which shouldnt impact it or adding/removing stats) the upgrade system should just automatically detect and adjust to accommodate.