Update SampleManager.java