update xtemplate on nodejs for async command