       table.append data.createFlexiRow rowData
       true
       
+    updateNavigation()
+      
+  updateNavigation = ->
+    adapter = plugin.adapter
+    
     currentPage = $el.find '.fr-current-page'
     currentPage.html adapter.options.currentPage
     

    
    totalResults = $el.find '.fr-total-results'
    totalResults.html adapter.options.entries
      
  # public methods
  

    data = $el.data 'flexirails'
  
    $el.append data.createFlexiTable data
    plugin.flexiTable = $el.find '.fr-table'
  
  # append flexirails navigation elements 
  createNavigation = ->
    data = $el.data 'flexirails'
  
    $el.append data.createFlexiNavigation plugin.adapter
    $(data.createFlexiNavigation plugin.adapter).insertBefore plugin.flexiTable
    plugin.flexiNavigation = $el.find '.fr-navigation'
    
    bindNavigation()
  
  # bind events to navigational elements
  bindNavigation = ->
