Update wc (in C)