update value only if it diff 2