updated histogram and Hist