# Update entire documents

**URL:** https://discuss.elastic.co/t/update-entire-documents/363585
**Category:** Elasticsearch
**Created:** [July 22, 2024, 5:43pm UTC](https://discuss.elastic.co/t/update-entire-documents/363585 "2024-07-22T17:43:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jane\_manuel](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@jane\_manuel](https://discuss.elastic.co/u/jane_manuel)
#### Post date: [July 22, 2024, 5:43pm UTC](https://discuss.elastic.co/t/update-entire-documents/363585/1 "2024-07-22T17:43:17Z")

</div>

hello,

i have an elastic instance with more than 100 million document, i have a date field with different format on each document, so i want to update all the documents to have a unified date format

i am using something like this to iterate over all the data

```auto
scan_results = scan(es, query=query, index=index_name)

```

but after sometime it raises a not found error related to the scrolling timeout, so is there is any better way to do this task, or a solution for the timeout issue
