UPGRADING WATER AND WASTEWATER TREATMENT PLANTS