change to SetRobotXml