I moved these down to right before order quantities are updated