update lua script and html property