update datatable and x-scroll in datatables