 <p>After updating point, format is changed from <code>[x_value, y_value]</code> to: <code>{x: x_value, y: y_value}</code>. So instead of <code>c[1]</code>, use <code>c.y</code> for updated points. Since both formats are used you need to check which one is use.</p>