updated connections and added connection types