Update multiple data in DB using one Save button

Hello! I have a working “Add Row” button that adds a blank row to the database, allowing the Repeating Group (RG) to display it as an empty row. The user can then enter data into that row.

The issue is when they click the Save button after entering data — I’m not sure how to update multiple records in the database using the data from the Repeating Group.

How can I achieve this?