Add message delete function