How do I add new contacts and update existing contact data in the same file?