set mainImagePath in getDraft
added mainImagepath to saveDraft