             @outline = outline
 
             outline.onDidEndChanges () =>
-                @syncMaster.update(this, @outline.serialize())
+                @syncMaster.update(@outline.serialize(), this)
 
 
         onDataUpdated: (source, version, data) =>

                @version = version
            else
                return false

    class LinkView extends SyncView
        constructor: (syncMaster, render) ->

    slog "newURL: #{e.newURL}"
    slog "oldURL: #{e.oldURL}"

    reload = false

    reloadWhiteList = ///
        ^WELCOME$
       |^NEW$
       |^CHOOSE$
       |^/
       |^http
    ///i



    hash = location.hash[1...]
    reload ||= reloadWhiteList.test(hash)

    if reload
        slog "loading: #{e.newURL}"
        window.location.reload()
    else
