changed password generation