resized read/update/write buffer to 4096 byte