if a matching row exists then you update your target row otherwise you don't do it.

You may want to read again about where exists