Improve batch modifications on BDB-JE