delete function co,pleted, add delete and save notification