update histogram