Update sim2.pl