update docs of histogram