Fixed updating multiple objects in the same transaction only updating one object