Update index with dependencies.