But the legal battle is not over and it's unclear if changes will be in place before the midterm elections.