update histogram chart