updated airlines model and controller