update pypkg.sh