change where data is written