upgrade setPasswordController