updated styles for legend