add eidt and delete function
eidt template