sql update value only if not null