update xtemplate tc