adding upsert example