Updated coor to the polyline and to the marker