Update Engine.js