Update freq.c