Handling port update from agent in plugin