<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_nio(self, port_number, nio):
 """ Update an nio on this node :param nio: NIO instance to add :param port_number: port to allocate for the NIO """


        bridge_name = "{}-{}".format(self._id, port_number)
        if self._ubridge_hypervisor and self._ubridge_hypervisor.is_running():
            yield from self._ubridge_apply_filters(bridge_name, nio.filters)