public function updateAccount($gitkitAccount) {
    $data = array(
      'email' => $gitkitAccount->getEmail(),
      'localId' => $gitkitAccount->getUserId(),
      'displayName' => $gitkitAccount->getDisplayName(),
      'emailVerified' => $gitkitAccount->isEmailVerified(),
      'photoUrl' => $gitkitAccount->getPhotoUrl()
    );
    return $this->invokeGitkitApiWithServiceAccount('setAccountInfo', $data);
  }