delete and add new thumbnails