update gen-package-list script