updates server port