Update port settings