Updating batches to support ring buffer concept