update watch for xtemplate