update multiplexing logic