[Doc]: Added documentation to toggle_groups