update internal/buffer: style