update memory map