Update shared.lua