Question: how to fix an error occurred while updating steam?
Answer: Restart Computer. It's always a good first step to make sure that you restart Steam as well as your computer. ... 
Clear Download Cache. ... 
Repair Library Folder. ... 
Verify Local Files. ... 
Change Download Region. ... 
Reinstall Steam. ... 
Move Game Folder. ... 
Refresh Local Network Hardware.