taxonomy_model.php add parent tag and type fields