Hello
Thank you for your question and reaching out.
Please note that Windows 8 and 8.1 support ended , Beginning in July 2019, the Windows 8 Store is officially closed. While you can no longer install or update applications from the Windows 8 Store, you can continue using those already installed.
Go to the Windows 8.1 download page and select your Windows edition.
https://www.microsoft.com/software-download/windows8ISO
Select Confirm and follow the remaining prompts to begin the download.
The update will download and install in the background while you use your PC to do other things. The installer will check to make sure you have enough disk space, that your apps and devices will work with Windows 8.1 or Windows RT 8.1, and that you have all the required updates.
In some cases, the installer might find something you need to take care of before you can continue installing the update. If so, you'll see a message telling you what you need to do.
--If the reply is helpful, please Upvote and Accept as answer--