     func update() {
         if let articlePlace = annotation as? ArticlePlace {
             if articlePlace.articles.count == 1 {
-                imageView.backgroundColor = UIColor.wmf_green()
+                dotView.backgroundColor = UIColor.wmf_green()
                 let article = articlePlace.articles[0]
-                if let thumbnailURL = article.thumbnailURL, isSelected {
+                if let thumbnailURL = article.thumbnailURL {
+                    imageView.backgroundColor = UIColor.white
                     imageView.wmf_setImage(with: thumbnailURL, detectFaces: true, onGPU: true, failure: { (error) in
-                        
+                         self.imageView.backgroundColor = UIColor.wmf_green()
                     }, success: {
                         
                     })
                 } else {
                     imageView.image = nil
+                    imageView.backgroundColor = UIColor.wmf_green()
                 }
             } else {
-                imageView.backgroundColor = UIColor.wmf_green().withAlphaComponent(0.7)
+                dotView.backgroundColor = UIColor.wmf_green().withAlphaComponent(0.7)
                 countLabel.text = "\(articlePlace.articles.count)"
             }
         }

        return nil
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        if countLabel.text != nil {
            imageView.bounds = CGRect(x: 0, y: 0, width: groupDimension, height: groupDimension)
            imageView.center = CGPoint(x: 0.5*bounds.size.width, y: 0.5*bounds.size.height)
        } else if isSelected {
            imageView.frame = bounds
        } else {
            imageView.bounds = CGRect(x: 0, y: 0, width: collapsedDimension, height: collapsedDimension)
            imageView.center = CGPoint(x: 0.5*bounds.size.width, y: 0.5*bounds.size.height)
        }
        imageView.layer.cornerRadius = imageView.bounds.size.width * 0.5
        countLabel.frame = imageView.frame
    }
}

        }
    }
    
    
    override func prepareForReuse() {
        super.prepareForReuse()
        imageView.wmf_reset()
        countLabel.text = nil
        imageView.alpha = 0
        imageView.transform = CGAffineTransform.identity
        dotView.alpha = 1
        alpha = 1
        transform = CGAffineTransform.identity
    }
