update decision tree