add state spools to xml