update template settings