update ports and seednodes