In case you haven't resolved your issue, this is how I resolved it when I encountered the same issue:
1) Stop any Windows Updates that are in progress
2) Clean browser data (I use Chrome as my browser and after doing this I run CCleaner (https://www.piriform.com/ccleaner/download) to remove any residual files, and it also cleans my registry.
3) Reboot
4) Go to
https://support.microsoft.com/en-us/gp/windows-update-issues/en-us and click on "Run now" in the blue box. It will automatically fix any issues as indicated by a "green" check mark to the right of the issue. You can also download "WindowsUpdateDiagnostic.diagcab," then just double click on the file to launch diagnostics.
5) Go to https://support.microsoft.com/en-us/kb/947821, and in the Resolution section, type the command in #2 in an elevated command prompt and wait for it to complete. Then type the command in #3 and wait for it to complete. Both take time to complete so be patient and wait.
6) Reboot
7) Run Windows Update again