Update ringbuffer.h