tick checkboxes when group selected