cUrl object updates and xml