Hi,
To ensure accurate information will be provided, are you trying to update to latest version of Windows 8 or upgrade to latest version which is Windows 11.
If you want to upgrade to Windows 11 which is the latest version of OS. A Windows 8 PC that has been offline for years usually cannot be directly upgraded to Windows 11. There is no supported in-place upgrade path from Windows 8 to Windows 11, and Windows 11 also has strict hardware requirements that many older systems do not meet.
In most cases, updating such a device requires a clean installation of a newer version of Windows. You may also need to purchase a new Windows license, as a Windows 8 license does not automatically qualify for Windows 11.
Before proceeding, the hardware should be checked for compatibility, and important data should be backed up.