histogram updates in real time