outline how I thought of s:UpdateBuffer()

Signed-off-by: Constantin Runge <uroc327@cssbook.de>