Fix update when value is None