Update TemplateServices.js