mce fix: update codeControl state