update mmap