changed statecontroller