update trips controller with CRUD methods