Update check.c