Update the port order