update pac script.