update lua dictionary