update chart image