sql update only if value is not null