Update rebuild.php