updates for templates in discovery service