Updating state controller