Commit before changing database for airline data