update polyline editor