updated demo in doc