updating advanced search template for conditioncheck