added support for thumbnails upload API functionality