update stat and doc