update histogram lib