update opacity on pie