OpenPGP: How to change the password phrase of the private key? [on hold]

I am developing a web application. I want users to be able to change the password phrase of the encrypted private key. I am using the OpenPGP javascript library. Any help for this would be appreciated. Thanks in advance.