Updated controllerSharedMem