Update document for memory layout