add upsert operation
add upsert operation to records
upsert specs