Changes to query datatable