update mm_init