Updated reencryption functionality to allow a batch size limit and modified logic so that encryption updates can't overwrite possible concurrent updates of the same encrypted data