Made updates to adc_template.