I am trying to update my dogecoin wallet to 1.5 version but every time my CPU starts heating too much and my PC shuts down.Whas up with that?? On previous version that was not the case.
Nothing can overheat a properly (heatsinked) CPU.
So since this is DOGE wallet related for You...
If it is a Laptop, run it on it powerbrick, turn off all "Green or Batterysaver" features.
Blow out the fan and heatsink (carefully - do not overspin it).
Buy a Good coolpad you will need it.
If a PC reseat the HSink with good thermal paste, if still gets hot get a better sink fan combo.
Get it done by Monday

You will need it.