Code Update for setting contact.