updated a sample