Update scanner.php