Refactoring. Moved askForUpdate to update.js