Rehoboth upgrades main substation