Updating state graphs.