# Dynamic collection doesn't update when fetched

**URL:** <https://community.weweb.io/t/dynamic-collection-doesnt-update-when-fetched/5779>\
**Category:** Ask us anything\
**Created:** [December 7, 2023, 12:44am UTC](https://community.weweb.io/t/dynamic-collection-doesnt-update-when-fetched/5779 "2023-12-07T00:44:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilan](https://avatars.discourse-cdn.com/v4/letter/i/ecae2f/32.png) [@ilan](https://community.weweb.io/u/ilan)\
**Post date:** [December 7, 2023, 12:44am UTC](https://community.weweb.io/t/dynamic-collection-doesnt-update-when-fetched/5779/1 "2023-12-07T00:44:31Z")

</div>

Hi all 👋

I am experiencing an issue where there is a minor lag in updating a dynamic collection. I need to update the collection at a specific point in a workflow, so the lag is resulting in incorrect functionality.

I recorded a video to demonstrate:

You will notice that:

1. In Weweb, the collection has data in the first row, but the 2nd row is mostly empty
2. When I call the API directly from the browser, the same is true
3. I then go off screen to begin the workflow, where data is added to row 2
4. When I refresh the browser window that calls the API directly, data is being populated in row 2
5. When I quickly switch over to WeWeb and fetch the API again, row 2 is still mostly empty
6. When I re-fetch in WeWeb again the data in row 2 is populated

Point 5 is the problem - why is the data in WeWeb not updated when the API call is?

I’m experimenting with adding a time delay in the workflow, but this is obviously not an optimal solution. Even adding 2.5 seconds hasn’t reliably worked…

Any ideas?
