updating control file