Foreach iterator, updates