plot data updated