updating dependency tree in packages