Add note delete function