modify the drawing of snake