Updating template and firewall