updated data string in bar graph