Update templates to use RESTful