How can I update and retrieve updated scopes