Change ds digest generating condition