add delete portmap func