use transactions in ldbadd, ldbmodify and ldbedit