Update miner.php