update the share memory model