Update addPurchase.php