The Perfect Timing: Strategies for Optimal Upgrade Decisions