Update validate.pl