updates server port and IP