Fix mutate bug for xmlADF
Change addXml method, now it auto add function without the functionTable