Removed redundant update_scope