Windows 8.1 reached end of mainstream support on January 9, 2018, over three years ago. Windows 8 support ended on January 12, 2016.
No wonder you ran into issues if you installed it and tried getting it "updated" recently.
https://docs.microsoft.com/en-us/lifecycle/faq/windows#windo...