Fixed bug with not updating thumbnails