Update Lua Code