modify treeRepository in TranslationBundle