$.ajax({
type: "GET",
url: "/update.php",
success: function(data){
console.log(data);
}
});