update index pie to svg