update order to use proc