update selecAll functionality