updates for sample