Update trade.php