                         databaseRef.updateChildValues(updatedTitleOnFire)
                         
                         
-//                    } else { return }
+                    } else { return }
                     
                 case .transportation:
                     
                     let indexPath = NSIndexPath(forRow: index, inSection: 0)
-                    //                    let cell = tableView.cellForRowAtIndexPath(indexPath) as! TransportationTableViewCell
+                    
                     let indexPathRow = indexPath.row
                     
                     guard let selectedTransportation = allArray[indexPathRow] as? Transportation else {
                         fatalError()
                     }
                     
-                    let cell = allArray[indexPathRow] as! TransportationTableViewCell
-                    
+//                    let cell = allArray[indexPathRow] as! TransportationTableViewCell
+                    if let cell = tableView.cellForRowAtIndexPath(indexPath) as? TransportationTableViewCell {
                     let transportationID = selectedTransportation.transportationID
                     
                     // Transportation Cell

                    
                    let attractionID = selectedAttraction.attractionID
                    
                    if let cell = allArray[indexPathRow] as? AttractionTableViewCell {
                        
                        // Attraction Cell
                        let name = cell.nameLabel.text ?? ""
                        let address = cell.addressLabel.text ?? ""

                            databaseRef.updateChildValues(updatedAccommodationOnFire)
                        }
                    })
                        
                    } else { return }
                    
                }
            }
