updated the function add flight