Update graphics.lua