. . . "Other court rulings forced New York State and other states to improve the quality of care in the institutions they operated." .