HP, like Dell and Sony and Lenovo and every other 3rd party vendor has 1 thing in mind. Profits. The very last thing they want is to sell you a $600 pc that you can tweak in their bios to perform exactly like the $1200 pc they are also trying to sell. They believe if you wanted the $1200 pc performance, you should buy the $1200 pc, not take their cheap $600 pc and make it better.
To that end, if your pc comes with an i5, pretty much the only upgrade will be a faster i5, if you wanted an i7 or i9 then you needed to buy the more expensive model in the first place.