Again, using enumerateAll seems like overkill here. If you have lots or records, this might cause a noticeable slowdown.

Instead, I suggest you use a regular enumeration, batch them up here in a temporary array, and call batchUpdate() every BATCH_SIZE records.