@ Kickaha,
You are right; .begin- and .endtransaction are part of the construction, but without adding .transactionsuccessful it doesn´t work well anyway.
When you don't get an error and see that a database isn't updated, the most likely cause is the missing .transactionsuccessful.
Greets from a warm Spain,
Helen.