update template routing