Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
Since you are trying to update your device, I suggest doing an in-place upgrade, which will update the device to the latest version and repair all issues without deleting any files.
Kindly follow the steps from this link:
Note: If the issue persists, can you please check the System logs on the PC so I can further examine the root cause of the issue?
To share the System logs, please follow the steps in the link below:
Press the Windows key + X, then select "Event Viewer"
Click the drop-down of "Windows logs"
Right-click System > click Filter Current logs > Check: Critical, Warning, and Error > Hit OK
On the right pane, click "Save Filtered Log File As..."
Save the System logs file to your desktop and share it by following the steps from the link:
Note: You can also use your preferred cloud storage to upload and share the logs.