Search records and Update Record

Search records and Update Record

Update is working great!, but can seem to get the data searched and provide relevant data? Ive tried useing the input. way as you can see with my arguments. im just not sure whats missing here.

Keep in mind the APN is a field that is a lookup value from another module so i know its there! what did i miss guys?

void
  Untitled_Function23 ( string APN int callsheetid string siteaddress1  )
apnnum = input.APN.toString() ;
apnresp = zoho.crm.searchRecordsByPDC( "CustomModule3" , "apn_d" , input.APN ) ;    
callsheetid1 = input.callsheetid.toString() ;
for each record in apnresp
{
    siteaddress1 = record.get("Site Address") ;
    recupdate = zoho.crm.updateRecord( "Leads" , callsheetid1 , { "Site Address" : input.siteaddress1, "Site City" : record.get("S_CITY"), "Site State" : "APNSTATE", "Site Zip code" : "APNZIP", "Owner Name 1" : "APNOWNER", "Owner Name 2" : "APNOWNER2", "Care of" : "APNCAREOF", "Company" : "APNCOMPANY", "Mailing Address" : "MAILINGADDRESS", "Mailing City" : "MAILING CITY", "Mailing State" : "MAILINGSTATE", "Mailing Zip" : "MAILINGZIP", "APN" : input.APN } ) ;
}

Sincerely,
SEGK