Update port definition to be able to set it dynamically