updated order creation