Update prev_expr in SWEEP.