I have a hp compaq dc7800p convertible minitower and i want to upgrade my power supply what will fit?

it has 365 power supply want to upgrade to 500
Update: I added a new video card and i believe i need more power because the pc has turned off and restarted on me
1 answer 1