Update minting.php