Update sweep.c