Handles refreshing the package index