update libs folder and demo Xtemplate