updated template and fixed r code chunk problem with name and echo