Update class.orders.php