update stateservice