updated next iteration