Update documentation on custom read and write function