updated state file