Illinois' credit upgraded, but still among worst