changing the inventory