Upgrading electrical infrastructure