adding watch for templates