updated dom defn