updated buffer size