update_template: allow dash in section name