updating svg writer