fixes bug of updating all bd samples with updating only specific bd samples.