Fix bug (reported by Sean Barbeau) where trip updates are not saved to the database.