# How to update the correct record

**URL:** <https://community.make.com/t/how-to-update-the-correct-record/50785>\
**Category:** Questions\
**Tags:** airtable, filters\
**Created:** [August 13, 2024, 1:30pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785 "2024-08-13T13:30:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melanie\_Data](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Melanie\_Data](https://community.make.com/u/Melanie_Data)\
**Post date:** [August 13, 2024, 1:30pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785/1 "2024-08-13T13:30:36Z")

</div>

Not sure if this is the right flow.  
Using an airtable search module to find RecoridID’s to use in updating a record.

I need to update a specific row with a value of PID. Currently, this will only update the last record in the list.

 ![recordid-full](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/9/49bcbbf687afdb0217a3fa096483ceabd587197d.png)

---

<div class="post-metadata">

**Author:** ![Bjorn.drivn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/bjorn.drivn/32/4503_2.png) [@Bjorn.drivn](https://community.make.com/u/Bjorn.drivn)\
**Post date:** [August 13, 2024, 2:24pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785/2 "2024-08-13T14:24:23Z")

</div>

@Melanie_Data If you use an aggregator it will create a new array with all values inside this array. When selecting a variable which is an array, it will always just grab the first item from that array.

- Either don’t use an aggregator and edit every bundle
- Use the aggregator and then iterator again if you want a specific output

---

<div class="post-metadata">

**Author:** ![Mr.Make](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/mr.make/32/93066_2.png) [@Mr.Make](https://community.make.com/u/Mr.Make)\
**Post date:** [August 13, 2024, 2:37pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785/3 "2024-08-13T14:37:14Z")

</div>

Don’t put your values that you are searching for into an array. Just go right from the airtable search module to the update module and use the id straight from the search module.

---

<div class="post-metadata">

**Author:** ![Melanie\_Data](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Melanie\_Data](https://community.make.com/u/Melanie_Data)\
**Post date:** [August 13, 2024, 4:24pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785/4 "2024-08-13T16:24:24Z")

</div>

Thanks, It’s working now directly from the search to the record data.  
I had the wrong info in the flow.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 27, 2024, 11:49pm UTC](https://community.make.com/t/how-to-update-the-correct-record/50785/5 "2024-08-27T23:49:04Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


