Update Logic.lua