update password reveal method.