changed the bar chart