fixed some import and update issues with pilot file version 2.1