you can use modify statement as these works as
INSERT - adds a new record to the table. If the row (key) exists, issues an error.
UPDATE - updates an existing record to the table. If the row (key) does not exist, issues an error.
MODIFY - If the key(record) exists, modifies the record. If the record does not exist, adds the record to the table.
Regards,
Harish