update compare code