updated docs for data-before-template and data-after-template