Update to pam 2.0