Updata KL to condition on only two attributes