Registering port changes when update port.