Update circular_buffer.