Update capture.c