ordering process and inventory update working