Update write_cell.c