# Update collection vs Xano Patch Endpoint

**URL:** <https://community.weweb.io/t/update-collection-vs-xano-patch-endpoint/14353>\
**Category:** How do I?\
**Tags:** workflows, xano\
**Created:** [November 6, 2024, 8:21am UTC](https://community.weweb.io/t/update-collection-vs-xano-patch-endpoint/14353 "2024-11-06T08:21:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandrine](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/sandrine/32/11529_2.png) [@Sandrine](https://community.weweb.io/u/Sandrine)\
**Post date:** [November 6, 2024, 8:21am UTC](https://community.weweb.io/t/update-collection-vs-xano-patch-endpoint/14353/1 "2024-11-06T08:21:29Z")

</div>

Hi community!  
I have a hard time wrapping my head around the difference between the function “Update Collection” from WeWeb versus editing my Xano database with a Patch endpoint…

For example, to edit one of my database in Xano, I could use either:

1. A “Get” collection to get my database from Xano (dynamic) and then have a workflow with an Update Collection function on this “get” Collection
2. A workflow with a custom Xano Request to my Patch endpoint for the same database

My questions are:

1. Is this correct? Would I apply the Update Collection to my Get endpoint collection?! That seems strange… Should this collection be cached to be updated within WeWeb?
2. What would be the difference between the two scenarios? When would you use one versus the other?

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 6, 2024, 9:21am UTC](https://community.weweb.io/t/update-collection-vs-xano-patch-endpoint/14353/2 "2024-11-06T09:21:01Z")

</div>

Update collection is local only within the app if I’m not wrong. It won’t actually update your Xano records. So that’s the difference. They should be complementary.
