support widget publish; optimize commends and tips