switch the state name