change port settings