update trips controller search condition