Update json_writing.php