update tree logic on server
refs #85