reinitilialize Jquery UI tabs, when changing tab area contents

reinitilialize Jquery UI tabs, when changing tab area contents

I am using TABS to show vehicle data for different models, ie, basically one tab for each model.
The basic data set is loaded with the web page. jqueryUI is working fine with data initial load.

Now, prior to jqueryUI, I was applying filters to the content of this area, to narrow the choice based upon certain vehicle specifications.
This is done with a Ajax call that brings in the new data set.
The problem is that it throws off the styles set by UI, as the quantities of tabs and their contents vary.

So, my question is how can I reapply jqueryUI at each Ajax call.

I tried, among other things to call the UI at success( as below ) but it did not work:
  1.            success: function(data){
            $("#tabs").html(data);
            $( "#tabs" ).tabs();
           }



     Thanks!