Synchronous transaction wrapper for update canister methods.
The closure cannot be async, so SQLite state cannot be held across an inter-canister call or any other await point.
await