pics
added IsThumbnail column
implemented model change