Update market.class.php