insert xAPI.state into base