update hist
should async
add build-doc #10