Open cmd with administrator privileges.Input the code in the below
rd /s /q "%ProgramData%\Microsoft\VisualStudio\Packages"
Open Visual studio installer,click the update one.