code: public void updateOrder(final BitfinexAccountSymbol account, final BitfinexSubmittedOrder exchangeOrder) {
  
  		synchronized (orders) {
  			// Replace order
  			orders.removeIf(o -> Objects.equals(o.getOrderId(), exchangeOrder.getOrderId()));
  
  			// Remove canceled orders
  			if(exchangeOrder.getStatus() != BitfinexSubmittedOrderStatus.CANCELED) {
  				orders.add(exchangeOrder);
  			}
  
  			orders.notifyAll();
  		}
  
  		notifyCallbacks(exchangeOrder);
  	}
docs: Update a exchange order
  @param exchangeOrder