update xtemplate
update xtemplate