updating some legends