Update ExternalInterface.cpp