Un record o si inserisce o si modifica.

Update tabella set campo=valore where....