updating datatables via jquery API instead of DOM methods