now update dependencies when a module is upgraded.