Ride delete function added