update: function () {
    'use strict';

    this.renderPorts();
    joint.dia.ElementView.prototype.update.apply(this, arguments);