add upsert operation to records
upsert specs