Edit read/write procedure.