update lua file