Update code with order, inventory changes