updating conf.lua and main.lua