updating delete button for recent messages