ring buffer changes