Update graphs.lua