Update Lua Mode