update negotiation cost calculation