Update scopes to proc format