update ports option