Update shared memory part.