Merge transactions