Upgrades are a costly affair. Looking at the Turkish F-16 upgrade plan from 2005, the cost came to about 10 million USD each and it was an avionics upgrade (without radar). The mirage upgrade which is much more exhaustive with new avionics, weapon systems, complete structural upgrade, engine...