update pgsetup.sh