CAP-22 Add support for batchUpdate