Updating the svg patterns