update the examples of iterate