Update CircularBuffer.cs