If the PSP is running hacked firmware, there are no official updates available for it — installing one would overwrite the custom firmware. In that case you'd need to look up the relevant custom firmware release for your model instead.
On a stock PSP, go all the way to the left in the main menu, open Settings, then choose System Update and let it connect over the internet.