Inventory C# update