updated the demo template
editing and adding capabilities in the demo