update height of piechart in templates