updating the trips data by interval