Did you issue the write commandS correctly? Remember, writing to flash is NOT like writing to sram. You have to tell the flash that you are about to write some data, and then write the data. Also, you can only write 0's, not 1's. Therefore, if you need to change 1 bit from 0 -> 1, then you will need to copy out the entire contents of the block, erase the block, and write back the block with changed bit.