update flag settings after files were relocated