Western Sydney's wastewater system will be upgraded after it was identified as the likely source of the debris balls.