legend updated