add withAncerstors parameter in getCommunities