Update check.pl