     $('.add-label-button', node).click ->
       $('form.add-label input[type="text"]', node).show()
 
-    this.labelNode node, label for label in file.labels
+    this.updateFileNode file
+    this.labelNode(node, label) for label in file.labels
 
   labelNode: (node, label) ->
     labels = $('.labels', node)

    @api.get FILES, criteria, (result) =>
      this.fileNode row for row in result.rows

  fileNode: (file) ->
    size = this.size file.size
    if !file.created_at
      file.created_at = Date()
    time = this.date file.created_at
    node = $("""
      <li data-id="#{file.id}" data-name="" data-size="#{size}" data-created="#{time}">
        <div class="file-icon">
          <span class="size">#{size}</span>
        </div>
        <h2></h2>
        <footer>
          <span class="time">#{time}</span>
          <ul class="labels"></ul>
          <form class="add-label">
            <div class="add-label-button"></div>

      </li>
    """).appendTo '#files'

    new Button $('.file-icon', node).get(0), ICONS.page2,
      scale: 1.0
      translation: '-2 0'
