Update trees and data