update flights#filter to accept API call from main app