update snake game