udpate getRevenue.php