When to Justify a Legacy Upgrade