updated the doc and create a demo