change the force logic for pkg.update_index