updating port number