Update class hierarchy