Update templates to squarebracket mode