fix mistake in update.js/registerTranslation