             @helper.update_array
                 target: @orders
                 data: orders
-                update: (target_el, data_el) ->
+                update: (target_el, data_el) =>
                     if data_el.status and target_el.status != "canceled" and !(target_el.status == "pending" and !target_el.expired())
                         target_el.status = data_el.status
+                    target_el.type = data_el.type
+                    target_el.cost = data_el.cost
+                    target_el.quantity = data_el.quantity
+                    target_el.collateral = data_el.collateral
+                    target_el.type = data_el.type
+                    target_el.display_type = @helper.capitalize(target_el.type.split("_")[0])
                 can_remove: (o) ->
                     #!(o.status == "unconfirmed" or (o.status == "pending" and !o.expired()))
                     !(o.status == "unconfirmed" or (o.status == "pending" and !o.expired()))

                    status_call = @blockchain_api.market_status(market.asset_base_symbol, market.asset_quantity_symbol)
                status_call.then (result) =>
                    console.log "market_status #{if market.inverted then 'inverted' else 'direct'} --->", result
                    @helper.read_market_data(market, result, market.assets_by_id)
                    deferred.resolve(market)
                , =>
                    error_message = "No orders have been placed."

        self = data.context
        market = self.market.get_actual_market()
        self.blockchain_api.market_status(market.asset_base_symbol, market.asset_quantity_symbol).then (result) ->
            self.helper.read_market_data(self.market, result, market.assets_by_id, self.market.inverted)
            console.log "------  ------>"
            if self.market.avg_price_24h > 0
                self.market.min_short_price = market.min_short_price = self.market.avg_price_24h * 9.0 / 10.0
                self.market.max_short_price = market.max_short_price = self.market.avg_price_24h * 10.0 / 9.0
