change the state processor