Fixed bug in addTree
Added previous version link to metadata