update memory image