update datanode, reader, writer