modify the demo which achieve data-binding function