updated trip_activity service for trip amount calculation