update iterator tail check.