Revert "Revert "Fixed broken 'Update' in ForEach""

This reverts commit 6e7864977536e808d9c50bc6b46522fe8adec076.