Optimise appending of callbacks
Fix return value of update transaction