update legend labels