Function to reload datatable