update histagram chart and filter