update if not exists in all cases.