update reader/writer buffer size