update scopes