updates documentation to reflect community_stability function