updated the demo plugin