Edited the addOrUpdateContact