Yeah with all the upgrades that u mentioned ,Jf-17 will be no doubt be a true 4+ generation fighter. but upgrades require time, money and technologically advanced friends willing to help you.
France already dealt Jf-17 a major blow by denying avionics for it and now Russia denying its engine. though China can offer replacements to Pakistan for both but u cant really compare and compete with the experience of France and Russia in both these fields. So for me JF-17 is getting downgraded before getting upgraded.
Inspite of all the hurdles mentioned above ,lets say in next 7-8 years Jf-17 gets all the upgrades BUT in next 7-8 years India would have also progressed a great deal with MRCA and PAK FA coming into IAF.
I think PAF did not procure any advanced platform in 90s which is why it is at a disadvantage to IAF right now both in technology and in numbers. With India gaining more influence in this world day by day it is obvious that India will ty its best to deny advanced technology to Pakistan and a couple of examples with France and Russia is there for everyone to see.Even the F-16s PAF has comes with no use against india agreement(atleast in papers
)
So if PAF wants to upgrade JF_17 either they will have to develop indigenous capability or diversify the countries from which it procures weapons and stop relying on China for everything.