Update with for loop logic