Updating data in a repeating group with data from external API

I have a repeating group that is using data from a Data call in the API connector. In the repeating group, I have a toggle that changes data in the external API. There is also a search field using the Search & Autocorrect plugin.

Currently, when the button is clicked, I have this workflow that updates the data in the API and then displays the updated list in the repeating group

However, when this happens, the data source is overwritten in the repeating group and the Search & Autocorrect plugin no longer works, so the field is no longer searchable. Has anyone encountered anything like this and how did you solve it?