Update the password generation