update the dependence