add @antage's "true" upsert idea from #17