update checking of the observed template length