Update knocking.c