add upsert operation to all objects that support it
Merge branch 'add-upsert-methods' into production