update syntax highlighter for templates