updated order schema