add unit test for chaining updates in transaction