Now if we change the status, the iteration would be changed automatically if it need to be.

Signed-off-by: tianyuli <tli@wpi.edu>