Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
I understand the issue you have, there is nothing to worry I am here to assist. The error 0X8000ffff is a system corruption error. If the update fails, kindly follow the steps below:
Reset Windows Update components:
Open Terminal (Admin) or Windows PowerShell(Admin) (Press Windows key + X then click Terminal(Admin))
Copy each line of command, then press enter (one line at a time)
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
-Once done restart the device and check.
If none will work from the above solution, I suggest doing an in-place upgrade wherein it will update the device to the latest version and repair all issues without deleting any files.
Kindly follow the steps from this link: