Update type hierarchy.