Update flappy.js