add all metadata from trees