update arduino sample program.