Simplify the update_package_info script by using enumerate() as per @ralphbean's advice