update inventory counts