update printInventory