def update(datum)
      validate_request datum
      current_path = "/api/#{update_version}/update"
      payload = datum.to_json
      @conn.post(current_path, payload)
    end
def update(datum)
      validate_request datum
      current_path = "/api/#{update_version}/update"
      payload = datum.to_json
      @conn.post(current_path, payload)
    end
Starts an update. The rest api supports the following
 scope: sites|factory|both (defaults to 'sites')
 start_time:
 sites_type: code|code, db| code, db, registry (defaults to 'code, db')
 factory_type: code|code, db (defaults to 'code, db')
 sites_ref:
 factory_ref:
 This method does not filter or validate so that it can be used for
 negative cases. (missing data)