jQuery plugin will use default options instead of user defined options
<p>So I have a plugin with a update method, which is used if a user ads new content to a div(placeholder), at start things go fine, the plugin will use the user defined options of the plugin, but once the user runs the update method it will use the default options instead of the defined options.</p>

<p>Plugin wrapper...</p>

<pre><code>;(function($, window, document, undefined){

    //"use strict"; // jshint ;_;

    var pluginName = 'myPlugin';

    function Plugin(element, options){

        this.elm     = $(element);
        this.options = $.extend({}, $.fn[pluginName].defaults, options);

        this.init();
    };

    Plugin.prototype = {

        init: function(){

            // we run this at start...

        },

        update: function(){

            // code that we need when we need to update...

        },

    };

    $.fn[pluginName] = function(option) {
        var options = typeof option == "object" &amp;&amp; option;

        return this.each(function() {
            var $this = $(this);
            var data  = new Plugin($this, options);

            if(!$.data($this, pluginName)){         
                $.data($this, pluginName, data);
            }

            if(typeof option == 'string'){
                data[option]();
            }

        });
    };

    $.fn[pluginName].defaults = {
        name: 'Hank',
        ...
        ...
    };


})(jQuery, window, document);
</code></pre>

<p>// inline js</p>

<pre><code>    $('#container').myPlugin({name: 'NOT Hank...'});

    $('#updatelink').click(function(e){
       $('#container').myPlugin('update');
    }):
</code></pre>
