update the condition for expire_password_source