add upsert operation to all objects that support it

credit goes to @kiran for this one. I have been using the upsert function on a number of records and find it works well