Update database data in a repeat

This sounds like you need to use the multi record update action. Check this: