Update data model and api for flights