Update RingBuffer.cs