Update externallib.php