Update document status as nil when finishing analysis