Implemented update_port
Implemented unit tests for Plugin.update_port