Update solve.php