Editing connections and relations