update code to AVGroup interface