updating the wrong file