checking for addressComponents in update_doc