Error: Updating the same values in all rows but ref Id is unique

When I tried a new patient details but all the rows are updating the same values

There could be multiple reasons why this issue is happening. Perhaps it would help if you could share a pic with the configuration triggered when the button to update is clicked. Maybe the action is applied to all the rows and the filter to match the one with the proper refId is not working somehow.