delete function, edit function add