Updated GetPendingOrders and GetShippedOrders