Update game-engine.js