updates to sample