You'd need to change your SQL code to use UPDATE TABLE instead of INSERT INTO and modify the logic to differentiate between these two.
_________________________
There are two types of vessels, submarines and targets.