updated pull.php