update to robust scopes api