update arduino sketch.