Update index.php

Will now remove the appropriate consumed item when the next item in the tier is added to the inventory