update to new sample