update chart image for new data