how to fix updates that do not complete and get stuck
Restart Your Computer: Sometimes, simply restarting your computer can help complete the installation of updates. Run the Windows Update Troubleshooter: This tool can help identify and fix problems with Windows Update.
Source: learn.microsoft.com