add tree record