Updating trips table.