Update extensions.class.php