update design on PostingsReader/WriterBase