control panel —> add or remove program
clicked avast antivirus Chance/remove…ok…after that i did press check proxy settings,ok…putted mark to auto detect (use internet explorer settings) and then tested the connection,all went fine,it did get info from avast server…ok
then i tried update and it did update avast perfectly

have you tried that??

if not try it and then try to update your avast