renamed all subtypes to class names
added database automatic update for existing subtypes