Updating svg graphics