updates to bar chart