set advanced fields for all templates