connections and assign in edit