Updating dependency structure