update dependency tree code