update before trip