update template to use targetselectorvalues