update lua cpp post