update directive ngdatatable