added branch groups to default sql