Update favorites.php