Missed to update selected point when dragging the selected point