Update example for iteration