fix row merge bug, add transaction support