trees api updated