update the pie