Update dirty flag on transaction entry to make sure the object is synchronized

Change-Id: I03e9e48f54e9f6ac8c26eb5d276ed2d0e00d5602
Merge "Update dirty flag on transaction entry to make sure the object is synchronized"