legend style updated