do not update value if it matches current value