updated template attributes