update dynamic demo