def update(object_type, id, data)
      url = generate_rest_url(:update, object_type, id)
      object_name = object_name_for(object_type, :update)
      xml_data = data.to_xml(:root => object_name, :skip_instruct => true, :dasherize => false)
      result = retrieve(url.path, url.method, {'Content-type' => 'application/xml'}, xml_data)
      find_object_in_result(result, object_type, :update)
    end
def update(object_type, id, data)
      url = generate_rest_url(:update, object_type, id)
      object_name = object_name_for(object_type, :update)
      xml_data = data.to_xml(:root => object_name, :skip_instruct => true, :dasherize => false)
      result = retrieve(url.path, url.method, {'Content-type' => 'application/xml'}, xml_data)
      find_object_in_result(result, object_type, :update)
    end
Updates remote object
 @param [Symbol] Object type
 @param [String] Object ID
 @param [Hash] Data to be sent