Update searchByActivities.php