That’s pretty close. You shouldn’t have a separate function (forloop) for the loop. Just put the “update value” blocks inside the “count with block”. And make sure that the count range is from 1 to the number of rows in the database, not 0 to 10. Then, use i (a variable) for the row id in the update value blocks.
If you still can’t get it, post an updated screenshot of your blocks.