update svg-writer.js and gui