try to add demo for edit function