Update replay.php