updates for oauthd structure