Update reactor.c