update snake-game