Use upsert instead of insert to prevent exact dupes

Simple change, just not sure if we want to call the callback for each doc or save up the responses and send them at once?