Wix Database update record column row

Hello.
i have a database with multiple records and i have a code that transforms csv file into JSON code and import to database the records that i want.
but this just create new records into database.
So, i just need that if ine record exists in database, then update only the field that i have in JSON, otherwise if the record doesnt exists, then it creates it and insert into database.
its this possible with code or importing csv in live data import page on wix?