Update sample.pl