update spec.sample