Handle port state updates