updated template.snippet