update ports