addind barchart with updates and interactive barchart