make uptade-[keys/vals/kv] nil safe