update examples

update examples to show how to use comment to add/delete functions