modified keys to be written