updated demo page and added examples