Edit connector when clicking  on edit