add position_id to PendingOrder table