           
           if contact != nil {
             
-            let request = UpdateContactRequest()
+            let request = UpdateContactRequest(contact: contact)
             request.firstName = contact!.firstName! + "1"
             request.lastName = contact!.lastName! + "1"
             request.phone = contact!.phone

    request.birthdate = contact.birthday
    request.emailOptIn = (contact.emailOptin != 0)
    request.preferredReward = ""
    request.male = (contact.gender == "Male")
    
    coreServiceHandler.registerAccount(request) { (result) in
      

    request.birthdate = contact.birthday
    request.emailOptIn = (contact.emailOptin != 0)
    request.preferredReward = ""
    request.gender = contact.gender != nil ? contact.gender! : "Unknown"
    
    coreServiceHandler.registerLoyaltyAccount(request) { (result) in
      
