Laptops aren't really made for "upgrades". Especially Compaq/HP.
1. The CPU in there is not upgradable.
2. You can only change motherboards if there was a model in that exact same line with a CPU that you want. And being that old, any CPU change wouldn't really matter. If you could do it. Which...