Update loader.php