bar chart added, data updatee only once