update to the iterator