update templates search, global search