add database view for activity groups