My son added an app on my laptop. How can I update it?
You'll not lose any of your documents if you delete the Pages Application from your Mac and, then, buy it again using your own AppleID. This is because documents are stored on as individual files on your computer not within the Pages application.

If you want to update the current installation, you have to use the AppleID that your son used to install it.