update xwidget create