Update svg file (optimized)