postgresql update if not null