updated electrodes and paths