update pie plugin and example with labels