update demos on pages
add source code to pages