update comparison