   tocOptions = {}
   if match = tocStartText.match(TOC_START_REGEXP)
     tocOptions = deserializeTocOptions(match[1])
+    return unless tocOptions.update
 
   insertToc(
     editor: editor
     range: range
-    create: false
     tocOptions: _.defaults(tocOptions, getDefaultTocOptions())
   )
 

getDefaultTocOptions = ->
  settings.getTocOptions()

insertToc = ({editor, range, create, tocOptions}) ->
  return unless create or tocOptions.update
  headers = scanHeaders(editor)
  toc = """
    <!-- TOC START #{serializeTocOptions(tocOptions)} -->

    #{TOC_END}
    """

  toc += "\n\n" if range.isEmpty()
  editor.setTextInBufferRange(range, toc)

# Public
