Updating title name in Lua script