updated buffer