Store the workspace in the state file