update to the copying to shared memory