update ring buff 's extra_buffer_size