replace amcharts with a new one