update barchart.html