updated ORD queries to update the data.