Update TextInventory for v 5.0.