postgresql update if value is not null