update compare to have debugging