plot the histogram
update all and clean