Update email password on production server

I am using Ver 9.7.011. What is the best way to update the password in
an email api? The new password works on the development server. If I
update the profile_api.conf.php directly, it doesn’t work and crashes. Deploying
with common libraries doesn’t work either. Any suggestions? Thanks.