update templates so they work with trusted users