Added data update for bar charts