 
   update: (attrs) ->
     $.extend(this, attrs)
+    this
+
+  updateDOM: ->
     @$element.find('.task-lights-boxes').empty().append(@genBoxes())
     this
 


  getTask: (host) ->
    @tasks[host] ||= @createTask(host)

  addHeading: ->
    @$headingEl = $("<h2 class='task-group-heading'></h2>")

      @activate()

    @parse(parser)
    @updateTasksDOM()

    if parser.findTaskEnd(@capistranoTask)
      @finish()
