Upgraded in what sense? Possibly DARIN II but no chance this was a DARIN III standard. We will have to wait until the true cause of this crash is revealed but the DARIN III standard with the new Honeywell F125 engines will be far safer than the current fleet. But, as @
Oscar said, all machines fail- no matter how advanced or "impregnable".
Good news the pilot ejected safely- machines can be replaced, humans can not.
The MiG-27s are pure junk now and just waiting to be phased out by the Rafale. The Jags on the other hand are deemed useful enough to be upgraded (a select number, not the entire fleet- most will be phased out) to DARIN III standard and re-engined. The IAF didn't explore the re-engining of the MiG-27 with the AL-31 all that much, they just want them gone.
How so? Very premature to state this at this point- the cause of the crash is unknown to date.
There are no quotas in the Indian military- it is a 100% merit based system.