updated schema defn