change leyends class for legends