R500 million to be invested in flood-damaged treatment works