maintain the feature tree