replaced the old tree widget with another one