Producing a cutting-edge military aircraft costs billions, and staying ahead of the technological curve and other countries requires constant development, which often results in cost overruns.  A prime example is the F-35 project. So when the military has aircraft that perform well and can used for extended periods with smaller, cheaper changes, it takes the opportunity, even though the aircraft may have lost its technological edge.