update pam patch