updated styles for legends