update serviceSample&ThreadSample