move physicalport update and delete to the mixin