Ring buffer template update