added an example for delete-insert, in order to perform an update