R500m to be invested in flood-damaged treatment works