fix thumbnails and class images

and sync from server