update decision_tree and gradient descent