updated the backend example to work with template.