update init
multithread sample