wrote to wrong file, actually updating