Sample is updated