update Check.pm