Update replace.pl