update for variable search template
fixed the template
update of the search