graph pie update