Some firewalls disable program's access to internet even if that is set as rule. This happens after program changes, such as after update.
You can remove existing rules for avast in your firewall, then start avast update (or restart Windows to trigger auto-update check). When firewall asks, allow avast.setup access to internet and create the rule again. If your firewall has option that allowed program changes often, set it too.