SmartPaint example updated