Update handleMatch.php