update shm management