Replaced message codes, added update method for CodeExporter