update getTopVideos function in Search.php