add stack queue update iterator