update template configuration