Update buy.php