Updating legend locations