Update port settings.