updating two files