Update histogram class