Update write_svg.rb